package zhongbo.java.air.dictionary.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("机场信息")
@TableName("air_airport")
@Data
public class AirPort {

    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty("机场id")
    private String id;

    @ApiModelProperty("ICAO机场代码")
        private String icaoCode;

    @ApiModelProperty("IATA代码")
    private String iataCode;

    @ApiModelProperty("机场全称")
    private String name;

    @ApiModelProperty("纬度")
    private Double latitude;

    @ApiModelProperty("经度")
    private Double longitude;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("时区")
    private String timezone;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
